package com.campus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.common.core.Pager;
import com.campus.model.dto.PageResult;
import com.campus.model.TManagerActivity;
import com.campus.model.dto.ManagerActivityConditionDto;
import com.campus.model.dto.ManagerActivityCreateDto;
import com.campus.model.dto.ManagerActivityUpdateDto;

public interface IManagerActivityService extends IService<TManagerActivity> {

    public Integer createActivity(ManagerActivityCreateDto managerActivityCreateDto);

    public Integer updateManagerActivity(ManagerActivityUpdateDto managerActivityUpdateDto);

    public Integer publishActivity(Long id);

    public TManagerActivity getActivityById(Long id);

    public Page<TManagerActivity> selectActivitiesByConditions
            (ManagerActivityConditionDto managerActivityConditionDto, Pager pager);
}
